#include <stdio.h>

template<int N>
struct functor {
    int operator()(const char*) {
        if (N == 1) {
            printf("----------------\n");
        }

        if (N == 2) {
            printf("xxxxxxxxxxxxxxxxxxxxxx\n");
        }
    }
};

int main(int argc, const char **argv) {

    functor<1> f1;
    functor<2> f2;

    f1("a");
    f2("b");

    return 0;
}
